package com.example.exception;

public class BusinessException extends RuntimeException{

    private Integer code;

    private String message;

    public BusinessException(Integer code, String message) {
        super(message);
    }

    public BusinessException(Integer code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }
}

